const getters = {
  isLoggedIn: (state) => state.isLogin && state.token,
  userId: (state) => state.userInfo?.id || null
}
export default getters
